package edu.zut.cs.software.module.goodsShelf.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import edu.zut.cs.software.module.goodsShelf.dao.GoodsShelfDao;
import edu.zut.cs.software.module.goodsShelf.domain.GoodsShelf;
import edu.zut.cs.software.module.goodsShelf.service.GoodsShelfManager;

import edu.zut.cs.software.teach.Base.service.impl.GenericManagerImpl;


/**
 * 
 * @author WuZhiXin
 *
 */

@Service("goodsshelfManager")
public class GoodsShelfManagerimpl extends  GenericManagerImpl<Long, GoodsShelf>  implements GoodsShelfManager {

	GoodsShelfDao goodsShelfDao;
	
	@Autowired
	public void setGoodsShelfDao(GoodsShelfDao goodsShelfDao) {
		this.goodsShelfDao = goodsShelfDao;
		this.dao=goodsShelfDao;
	}

	@Override
	public  GoodsShelf findById(Long id) {
		// TODO Auto-generated method stub
		return null;
	}

	/*
	 * 重写货架信息
	 */
	@Override
	public String GoodsShelfInformation(GoodsShelf goodsshelf) {
		// TODO Auto-generated method stub
		String Info;
		Info="货架名称："+goodsshelf.getName()+" "+"货架号："+goodsshelf.getNumber()+"号";
		return Info;
	}

	@Override
	public GoodsShelf echo(GoodsShelf goodsshelf) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void Delete(GoodsShelf goodsshelf) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void Add(GoodsShelf goodsshelf) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void Modify(GoodsShelf goodsshelf) {
		// TODO Auto-generated method stub
		
	}

	
}
